package com.woniu.project.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.woniu.project.core.domain.IdentificationMap;
import com.woniu.project.dao.IdentificationMapMapper;
import com.woniu.project.service.IIdentificationMapService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Lucas
 * @since 2020-10-13
 */
@Service
public class IdentificationMapServiceImpl extends ServiceImpl<IdentificationMapMapper, IdentificationMap> implements IIdentificationMapService {

    @Override
    public List<IdentificationMap> getByProductBigType(Integer id) {
        QueryWrapper<IdentificationMap> wrapper=new QueryWrapper();
        wrapper.eq("product_big_type_id",id);
        return list(wrapper);
    }
}
